package com.sam.security.domain;

import java.io.Serializable;
import java.util.Set;

/**
 * The Class Role.
 */
public class Role implements Serializable {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;

	/**
	 * Gets the serial version uid.
	 * 
	 * @return the serial version uid
	 */
	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	private String id;

	/** The name. */
	private String name;
	
	private String description;

	/** The auths. */
	private Set<Authority> auths;

	/**
	 * Gets the auths.
	 * 
	 * @return the auths
	 */
	public Set<Authority> getAuths() {
		return auths;
	}

	public String getId() {
		return id;
	}

	/**
	 * Gets the name.
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the auths.
	 * 
	 * @param auths
	 *            the new auths
	 */
	public void setAuths(Set<Authority> auths) {
		this.auths = auths;
	}

	public void setId(String id) {
		this.id = id;
	}

	/**
	 * Sets the name.
	 * 
	 * @param name
	 *            the new name
	 */
	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
